import * as Nexus from "@nexus/schema";
import _ from "lodash";
import { inputName, fieldDescription } from "./config";

// 定义输入类型
export default Nexus.inputObjectType({
  // 名称
  name: inputName,

  // 描述
  description: `${fieldDescription}输入`,

  // 定义
  definition(t) {
    t.string("account", { description: "账号", required: true });
    t.string("password", { description: "密码", required: true });
  },
});
